home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-12-11 | 672 b | 37 lines |
- FILES = man.ms
- GRN = /usr/local/ditroff/grn -Pps
- TROFF = /usr/local/ditroff/troff -ms -Pps -t
- DPS = /usr/local/ditroff/dps
- GROFF = groff
- EQN = eqn
- DVIPS = dvitps
-
- all:
- @echo what do you want to make ?
-
- man: man.ps
- # ${LPR} man.dit
-
- man.ps: man.dvi
- ${DVIPS} man.dvi > man.ps
-
- man.dvi: man.tex
- (TEXINPUTS=.:$$TEXINPUTS; export TEXINPUTS; latex man.tex)
-
- preview: man.dvi
- xdvi man.dit
-
- print: man.ps
-
- clean:
- rm -f man.aux man.log
-
- # the figure was originally created with gremlin. This is how to
- # to get a PostScript version.
-
- fig.ps: fig.dit
- ${DPS} < fig.dit > fig.ps
-
- fig.dit: fig.ms
- cat fig.ms | ${GRN} | ${EQN} | ${TROFF} > fig.dit
-